package cn.hj.domain.rebate.service;

import cn.hj.domain.rebate.model.entity.BehaviorEntity;
import cn.hj.domain.rebate.model.entity.BehaviorRebateOrderEntity;

import java.util.List;

/**
 * 行为返利接口
 */
public interface IBehaviorRebate {

    /**
     * 创建行为返利订单
     * @param behaviorEntity
     * @return
     */
    List<String> createOrder(BehaviorEntity behaviorEntity );

    /**
     * 查询订单
     * @param userId
     * @param outBusinessNo
     * @return
     */
    List<BehaviorRebateOrderEntity> queryOrderByOutBusinessNo(String userId, String outBusinessNo);



}
